﻿$(document).ready(function () {
    //To switch directions up/down and left/right just place a "-" in front of the top/left attribute
    //Vertical Sliding
    $('.boxgrid.slidedown').hover(function () {
        $(".cover", this).stop().animate({ top: '-160px' }, { queue: false, duration: 300 });
    }, function () {
        $(".cover", this).stop().animate({ top: '0px' }, { queue: false, duration: 300 });
    });
  
  
  
    //Full Caption Sliding (Hidden to Visible)
    $('.boxgrid.captionfull').hover(function () {
        $(".cover", this).stop().animate({ top: '90px' }, { queue: false, duration: 160 });
    }, function () {
        $(".cover", this).stop().animate({ top: '130px' }, { queue: false, duration: 160 });
    });
   
});